<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Winter.BackEnd.Models.Domain.IPerson>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%= Html.Encode(Model.FullName) %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <a href="#" id="addFiend" class="button"><span class="user">Add to friends</span>
        </a>
        <input type="hidden" id="fiendID" value="<%= Html.Encode(Model.PersonID) %>" />
    </div>
    <div class="page-content-left floatLeft">
        <div class="photo">
            <img src="<%= Url.Content("~/Image/avatar.png")%>" alt="<%= Html.Encode(Model.FullName) %> photo"
                title="<%= Html.Encode(Model.FullName) %>" />
        </div>
    </div>
    <div style="padding-left: 50px; float: left;">
        <h2 class="name">
            <%= Html.Encode(Model.FullName) %></h2>
        <h3 class="title">
            Basic Information</h3>
        <div class="block">
            <p class="field">
                Sex: <span>
                    <%= Html.Encode(Model.Sex) %>
                </span>
            </p>
            <p class="field">
                Birthdate: <span>
                    <%= Html.Encode(Model.BirthDate)%></span></p>
        </div>
        <h3 class="title">
            Contact Information</h3>
        <div class="block">
            <p class="field">
                Email: <span><a href="mailto:<%= Html.Encode(Model.Email)%>  ">
                    <%= Html.Encode(Model.Email) %>
                </a></span>
            </p>
            <p class="field">
                Faculty: <span>
                    <%= Html.Encode(Model.Duties["facultyName"])%>
                </span>
            </p>
            <p class="field">
                Department: <span>
                    <%= Html.Encode(Model.Duties["departmentName"])%>
                </span>
            </p>
            <p class="field">
                Group: <span>
                    <%= Html.Encode(Model.Duties["groupName"])%>
                </span>
            </p>
        </div>
        <div class="content-container">
        </div>
    </div>
</asp:Content>
